package com.weng.platform.stories.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weng.framework.core.exception.GlobalServiceException;
import com.weng.framework.core.model.ResponseData;
import com.weng.platform.stories.entity.Iterations;
import com.weng.platform.stories.model.dto.CourseDto;
import com.weng.platform.stories.model.req.CourseListReq;
import com.weng.platform.stories.model.vo.IterationsVo;


/**
 * 课程信息 服务接口
 *
 * @author wenghui
 * @date 2020-05-17 13:16:31
 *
 */  
public interface IIterationsService extends IService<Iterations> {



    IterationsVo getCourseRel(String courseId) ;



	/**
	 * 新建单个
	 */
	public Iterations add(IterationsVo course) throws GlobalServiceException;


	/**
	 * 更新
	 */
	public int update(IterationsVo courseReq) throws GlobalServiceException;


	/**
	 * 删除
	 */
	public ResponseData removeByIds(String ids);

	/**
	 *  列表查询base
	 *  <p>
	 *      自定义列表查询：需实现定制化业务，组合查询，多分页查询等
	 */
	IPage<CourseDto> list(Integer pageNo, Integer pageSize, CourseListReq paramData);



}
